package com.ruoyi.supermarket.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 user
 *
 * @author liqiwei
 * @date 2023-11-04
 */
public class UserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 登陆名 */
    @Excel(name = "登陆名")
    private String loginName;

    /** 密码 */
    private String password;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 出生日期 */
    private Date birthday;

    /** 个性签名 */
    private String sign;

    /** 等级 */
    @Excel(name = "等级")
    private Long level;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 城市 */
    private String city;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 邮箱验证 */
    @Excel(name = "邮箱验证")
    private Integer emailVerify;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 手机号验证 */
    @Excel(name = "手机号验证")
    private Integer phoneVerify;

    /** QQ */
    @Excel(name = "QQ")
    private String qqId;

    /** 微信 */
    private String wxId;

    /** 微博 */
    @Excel(name = "微博")
    private String weiBoId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setEmailVerify(Integer emailVerify) 
    {
        this.emailVerify = emailVerify;
    }

    public Integer getEmailVerify() 
    {
        return emailVerify;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPhoneVerify(Integer phoneVerify) 
    {
        this.phoneVerify = phoneVerify;
    }

    public Integer getPhoneVerify() 
    {
        return phoneVerify;
    }
    public void setQqId(String qqId) 
    {
        this.qqId = qqId;
    }

    public String getQqId() 
    {
        return qqId;
    }

    public String getWxId() {
        return wxId;
    }

    public void setWxId(String wxId) {
        this.wxId = wxId;
    }

    public void setWeiBoId(String weiBoId)
    {
        this.weiBoId = weiBoId;
    }

    public String getWeiBoId() 
    {
        return weiBoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loginName", getLoginName())
            .append("password", getPassword())
            .append("userName", getUserName())
            .append("avatar", getAvatar())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("sign", getSign())
            .append("level", getLevel())
            .append("status", getStatus())
            .append("city", getCity())
            .append("email", getEmail())
            .append("emailVerify", getEmailVerify())
            .append("phone", getPhone())
            .append("phoneVerify", getPhoneVerify())
            .append("qqId", getQqId())
            .append("wxId",getWxId())
            .append("weiBoId", getWeiBoId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
